package com.harmontronics.hanma.paas.paas.domain.job.service.helper;

import com.harmontronics.hanma.paas.paas.domain.job.entity.HmJob;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理（禁止并发执行）
 *
 */
@DisallowConcurrentExecution
public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob{
    @Override
    protected void doExecute(JobExecutionContext context, HmJob sysJob) throws Exception {
        JobInvokeUtil.invokeMethod(sysJob);
    }

}
